package com.master.chat.llm.locallm.dify.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class DifyRequestFile {
    private String type = "image";
    // local_file or remote_url
    @JsonProperty("transfer_method")
    private String transferMethod = "remote_url";
    private String url; // 仅当传递方式为 remote_url 时用
    @JsonProperty("upload_file_id")
    private String uploadFileId; // 仅当传递方式为 local_file 时用
}
